#!/bin/sh

sudo apt install -y build-essential cmake libssl-dev

git clone https://github.com/sogou/workflow.git
cmake -Bb1 -DCMAKE_BUILD_TYPE:STRING=Release workflow
sudo cmake --build b1 -j 8 -t install

cmake -Bb -DCMAKE_BUILD_TYPE:STRING=Release .
cmake --build b
